/**
 * 
 */

package com.tenentia.pcmps.swm.business.interfaces;

import java.util.List;

import com.liferay.portal.model.User;
import com.tenentia.pcmps.swm.business.BusinessLogicException;
import com.tenentia.pcmps.swm.business.BusinessLogicObject;
import com.tenentia.pcmps.swm.data.beans.ApplicationUser;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public interface UsersManager extends BusinessLogicObject {

	public void delete(ApplicationUser user) throws BusinessLogicException;

	public ApplicationUser get(ApplicationUser user) throws BusinessLogicException;
	
	public List<ApplicationUser> getAvailableMediatorUsers() throws BusinessLogicException;
	
	public List<ApplicationUser> getTableItemsByRange(Object filterParameters, Object sortParameters, Integer firstRow, Integer numberOfRows) throws BusinessLogicException;

	public Integer getTableRowCount(Object filterParameters) throws BusinessLogicException;

	public void save(User authenticatedUser, ApplicationUser newUser) throws BusinessLogicException;

	public void update(ApplicationUser user) throws BusinessLogicException;

}
